package com.longcai.service.impl.homepage;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.longcai.entity.homepage.ClyjGoodsType;
import com.longcai.mapper.homepage.ClyjGoodsTypeMapper;
import com.longcai.service.homepage.ClyjGoodsTypeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 商品和类型中间表 服务实现类
 * </p>
 *
 * @author ZJ
 * @since 2019-03-30
 */
@Service
public class ClyjGoodsTypeServiceImpl extends ServiceImpl<ClyjGoodsTypeMapper, ClyjGoodsType> implements ClyjGoodsTypeService {

    @Autowired
    private ClyjGoodsTypeMapper clyjGoodsTypeMapper;

    @Override
    public List<ClyjGoodsType> getGoodsId(Map map) {
        List<ClyjGoodsType> clyjGoodsTypes = clyjGoodsTypeMapper.getGoodsId(map);
        return clyjGoodsTypes;
    }
}
